import ResolveDetail from './ResolveDetail'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'

export function mapStateToProps({global: { sample, sampleImgs } }: StoreState) {
  return {
    sample,
    sampleImgs
  }
}
export default connect(mapStateToProps)(ResolveDetail)